|
CATIA V5 Programmierung : VBScript / Object required error on Selection
omz am 06.04.2005 um 18:14 Uhr (0)
Hallo, Vielen Danke für Ihr sehr interessant Forum ! Ich wohne in Frankreich, und Deutsch ist nicht so einfach für mich, so Bitte entchuldigen Sie mich für alle Fehler !! ;-) I habe ein Problem mit einem VBScript makro, der die folgenden enthält : ... mySel = CATIA.ActiveDocument.Selection.selectElement2(point line curve, mymessage, false) if mySel = "Normal" and Selection.count=1 then set myEntity = Selection.Item(1).Value ... Das war OK mit R12 und R13, aber nicht mit R14 (SP2), nur fûr "line" und " ...
| In das Form CATIA V5 Programmierung wechseln |
|
CATIA V5 Programmierung : VBScript / Object required error on Selection
omz am 07.04.2005 um 15:29 Uhr (0)
Danke schön für Ihre Antworte ! Diese Lösung ist OK für eine konstant InputObjectType. Ich brauche verschiedene InputOjectType zu benutzen, e.g. "Points" oder "Points or Lines", etc. Was steht in meine makro ist : ... Set mySel = CATIA.ActiveDocument.Selection if isPoint and isLine and isCurve then redim InputObjectType(2) as variant InputObjectType(0)="Point" InputObjectType(1)="Line" InputObjectType(2)="HybridShapeSpline" elseif isPoint and isLine then redim InputObjectType(1) as variant InputObjectType ...
| In das Form CATIA V5 Programmierung wechseln |
|
Anzeige:
Anzeige: (Infos zum Werbeplatz)
 |